package dai.core.base

import org.joml.Vector4f

// 表示的是 物体的材质
class Material(
    val ambientColor:Vector4f = Vector4f(0.3f,0.3f,0.3f,1.0f),
    val diffuseColor:Vector4f = Vector4f(1f,1f,1f,1f),
    val specularColor:Vector4f = Vector4f(1f,1f,1f,1f),
    val specularPower:Float = 32f,
    val reflectance:Float = 1f,
    val texture:Texture? = null,
    val normalMap:Texture ?= null,
) {
    companion object{
        val DEFAULT_COLOR = Vector4f(1f,1f,1f,1f)
    }
}